package org.javaboy.vhr.mapper;

import org.javaboy.vhr.model.Category;
import org.javaboy.vhr.model.Orders;
import org.javaboy.vhr.model.Times;

import java.util.List;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Orders order);

    int insertSelective(Orders order);

    Orders selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(Orders order);

    List<Orders> getList();
    List<Orders> searchList(String keyword);
    Long getCount();

    List<Category> getCategoryList();
    Category getCategoryById(int id);
    int complete(int id);
    List<Orders> getTimes(Times times);

    List<Orders> getResultByHrId(Long Id);


}
